package com.bbm.controller;


import com.bbm.entity.vo.ResponseResult;
import com.bbm.service.HousePropertyService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * (HouseProperty)表控制层
 *
 * @author lionkliu
 * @since 2024-02-20 21:42:21
 */
@RestController
@RequestMapping("pro")
public class HousePropertyController {

    @Resource
    private HousePropertyService housePropertyService;


    @GetMapping("{id}")
    public ResponseResult selectOne(@PathVariable Integer id) {
        return housePropertyService.getPropertyByHouseId(id);
    }

}
